gtkmain: Add API to get the target of a GdkEvent
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 4 May 2017 11:49:34 +0000 (13:49 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 25 May 2017 14:25:59 +0000 (16:25 +0200)
commit33c5f3c193e5592ff4ee09be33b72d2fb48732b7
treeb400060105196b15995440f014da407e651cd994
parentda56fae5dff160afe8ac3bb0006b2ee2108761d3
gtkmain: Add API to get the target of a GdkEvent

This can be used on grabbing situations to determine the target of
the event. This mainly matters for GtkMenu.
gtk/gtkmain.c
gtk/gtkmain.h